﻿<UserControl x:Class="GameEngine.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    mc:Ignorable="d" d:DesignWidth="1000" d:DesignHeight="600" Height="400" Width="600">
    <Border BorderThickness="5" BorderBrush="Red">
        <Canvas x:Name="LayoutRoot" Margin="0,0,0,0" Background="Black">
            <Image x:Name="menuBackground" Canvas.Left="150" Canvas.Top="5" Visibility="Visible" Source="Menu/parchment.png" Stretch="Fill" Height="380" Width="300" Canvas.ZIndex="2">
            </Image>
            <StackPanel x:Name="menu" Orientation="Vertical" Canvas.Left="195" Canvas.Top="130" Canvas.ZIndex="2">
                <Image  Source="Menu/ResumeGameButton.png" MouseLeftButtonDown="OnResumeClick" Visibility="Collapsed"/>
                <Image  Source="Menu/NewGameButton.png" MouseLeftButtonDown="OnSaveButtonClick"/>
                <Image  Source="Menu/LoadGameButton.png" MouseLeftButtonDown="OnLoadMapClick"/>
                <Image  Source="Menu/CreditsButton.png" MouseLeftButtonDown="OnLoadMapClick" Margin="65,0,0,0"/>
            </StackPanel>
            <Image x:Name="map">
            </Image>
        </Canvas>
    </Border>
</UserControl>
